﻿<Window x:Class="SQLQuery.UI.Comparsion.DataColumnCustomWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="设置列的默认值" 
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" 
        WindowStartupLocation="CenterScreen"
        Height="300" Width="300" WindowStyle="ToolWindow">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="8*"/>
            <RowDefinition Height="2*"/>
        </Grid.RowDefinitions>
        <ScrollViewer HorizontalScrollBarVisibility="Auto">
            <Grid Name="grid">
                <Grid.RowDefinitions>
                    <RowDefinition Height="33"/>
                </Grid.RowDefinitions>
                <DockPanel >
                    <Label Content="PCHA" Margin="5,5,2,5" MinWidth="75" />
                    <ComboBox ></ComboBox>
                </DockPanel>
            </Grid>
        </ScrollViewer>

        <Grid Grid.Row="1" Height="50" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="5*"/>
            </Grid.ColumnDefinitions>
            <dxe:ButtonEdit Name="BtnSubmit" Margin="5,5,5,5" ShowText="False" AllowDefaultButton="False" >
                <dxe:ButtonInfo GlyphKind="Custom" Content="确定" ButtonKind="Simple" Click="BtnSubmit_Click"/>
            </dxe:ButtonEdit>
            <dxe:ButtonEdit Name="BtnCanel" Margin="5,5,5,5" ShowText="False" AllowDefaultButton="False" Grid.Column="1">
                <dxe:ButtonInfo GlyphKind="Custom" Content="取消" ButtonKind="Simple" Click="BtnCanel_Click"/>
            </dxe:ButtonEdit>
            <!--<Button Content="确定" IsDefault="True" Margin="5,5,5,5" Name="BtnSubmit" Click="BtnSubmit_Click"></Button>
            <Button Content="取消" IsCancel="True" Margin="5,5,5,5" Name="BtnCanel" Grid.Column="1" Click="BtnCanel_Click"></Button>-->
        </Grid>
    </Grid>
</Window>
